<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
	<form:form method="POST" modelAttribute="loginParameters" id="form-abide"
		action="${pageContext.request.contextPath}/account/login.html">
		<div class="row">
			<div align="center">
				<a href="${pageContext.request.contextPath}"> <img src="<c:url value="/resources/img/logo_large.png"/>" class="full-logo loading_controller_group">
				</a>
			</div>
		</div>
		<div
			class="large-4 medium-8 small-14 large-centered medium-centered small-centered columns">
			<!-- error div -->
			<c:if test="${not empty message}">
				<div data-alert class="alert-box alert radius">
					<strong>${message}</strong>
				</div>
			</c:if>
			<c:if test="${not empty success}">
				<div data-alert class="alert-box success radius">
					<b>${success}</b>
				</div>
			</c:if>
			<form:errors path="*" element="div" cssClass="alert-box alert radius" id="alert"/>
			<!-- end error div -->
			<div class="row collapse margin-14px-bot">
				<div class="small-5 columns">
					<span class="prefix full-element">Email</span>
				</div>
				<div class="small-11 columns">
					<input type="email" name="userEmail" required placeholder="" />
					<small class="error">Email address is required.</small>
				</div>
			</div>
			<div class="row collapse margin-14px-bot">
				<div class="small-5 columns">
					<span class="prefix full-element">Password</span>
				</div>
				<div class="small-11 columns">
					<input type="password" name="password" required placeholder="" />
					<small class="error">Password is required.</small>
				</div>
			</div>
			<div class="row collapse">
				<div class="small-6 columns">
					<span>
						<span><input type="checkbox" id="rememberMe"></span>
						<span style="position: absolute;bottom: 14px;width: 90px;left: 15px;"><label for="rememberMe" style="line-height: 1;"><font color="white" style="font-size: 0.77778rem;">Remember me</font></label></span>
					</span>
				</div>
				<div class="small-10 columns login-same-line">
					<a class="full right loading_controller_group"
					   href="${pageContext.request.contextPath}/account/reset_password_request.html">
						Forgot your password?
					</a>
				</div>
			</div>
			<div class="row">
				<button type="submit" class="button expand full-button full-element loading_controller_group">
					<strong>Log In</strong>
				</button>
			</div>
			<div class="row">
				<div align="center">
					<span class="full">Don't have an account? </span>
					<a class="full loading_controller_group"
						href="${pageContext.request.contextPath}/account/signup.html">Sign up here</a>
				</div>
			</div>
		</div>
	</form:form>
